<div class="top_bar">
    <div class="box">
        <div class="icon-th-list" event-click="{{'$Event.top.is_menu'}}"></div>
        <div class="search-box">
            <div class="icon-search"></div>
            <input bind-value="{{$Cache.search_text}}" bind-input="{{'$Cache.search_text'}}" event-enter="{{'$Event.open_search'}}" placeholder="输入关键字搜索" />
        </div>
    </div>
    <div class="navs {{$Cache.top.is_menu&&'focus'}}">
        <href event-click="{{'$Event.top.is_menu'}}" to="/main.html" class="nav">首页</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/storeinfo.html" class="nav">简介</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/goods_list.html" class="nav">商品</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/cart.html" class="nav">购物车</href>
    </div>
</div>


<div class="bottom_btn_box">
    <href to="/main.html" class="item {{Path.current_page=='/main'&&'focus'}}">
        <div class="icon-home"></div>
        首页
    </href>
    <href to="/goods_list.html?id=3" class="item {{Path.current_page=='/goods_list'&&'focus'}}">
        <div class="icon-th-large"></div>
        商品
    </href>
    <href to="/storeinfo.html" class="item {{Path.current_page=='/storeinfo'&&'focus'}}">
        <div class="icon-circle-empty"></div>
        简介
    </href>
    <href to="/cart.html" class="item {{Path.current_page=='/cart'&&'focus'}}">
        <div class="icon-basket"></div>
        购物车
    </href>
    <href to="/user/main.html" class="item {{Path.current_page=='/user/main'&&'focus'}}">
        <div class="icon-user"></div>
        {{loginer?'我的':'登录'}}
    </href>
</div>

{{useCss "/app-pages/css/default.scss", "*"}}

<!-- 背景 -->
{{#if bus_info.config.is_use_bg_img}} {{#if bus_info.config.is_bg_img_alpha}}
<div class="themeimgblock" style="position: fixed;width: 100%;height:100%;top:0;left:0;background-color: rgba(255,255,255,0.6);z-index: -1;"></div>
{{/if}}
<img style="display:block;position: fixed;width: 100%;height: 100%;z-index: -2;top:0;left: 0;" bind-src="{{bus_info.config.using_bg_img}}{{#if bus_info.config.is_bg_img_blur}}?imageMogr2/blur/10x10{{/if}}">{{/if}}
